package Classes;

/**
 * Each query corresponds to a search topic and 
 * consists of a query content and a query id. 
 * A query is also a topic.
 * 
 * @author florahan
 */
public class Query {

	// YOU CAN MODIFY THIS CLASS
	private String queryContent;  
	private String topicId;		 
	
	private String queryTitle;
	private String queryDesc;
	private String queryNarr;
	
	/** 
     * Query/Topic id
     */
	public String GetTopicId() {
		return topicId;
	}
	
	public void SetTopicId(String topicId){
		this.topicId = topicId;
	}
	
	/** 
     * Query/Topic content  
     */
	public String GetQueryContent() {
		return queryContent;
	}
	
	public void SetQueryContent(String queryContent){
		this.queryContent = queryContent;
	}	
	
    /** 
     * Query title 
     */
	public String getQueryTitle() {
		return queryTitle;
	}

	public void setQueryTitle(String queryTitle) {
		this.queryTitle = queryTitle;
	}

	/** 
	 * Query description 
	 */
	public String getQueryDesc() {
		return queryDesc;
	}

	public void setQueryDesc(String queryDesc) {
		this.queryDesc = queryDesc;
	}

	/** 
	 * Query Narrative 
	 */
	public String getQueryNarr() {
		return queryNarr;
	}

	public void setQueryNarr(String queryNarr) {
		this.queryNarr = queryNarr;
	}	
	
//	public String toString() {
//		return topicId + ", " + queryContent;
//	}
}